package Entity;

import java.io.Serializable;

/** this class Create new Instance of sale*/

public class Sale implements Serializable{
	
	private static final long serialVersionUID = 42L;
	
	/**attributes for sale*/
	private String SaleID;
	private String SalePatternID;

	/**default constructor*/
	public Sale()
	{
		
	}
	
	/**Full constructor with all attributes*/
	public   Sale(String SaleID,String PatternID)
	{
		this.SetSaleID(SaleID);
		this.SetSalePatternID(PatternID);
	}
	
	/**set functions*/
	public void  SetSaleID( String SaleID)
	{
		this.SaleID=SaleID;
	}
	
	public  void SetSalePatternID(String PatternID )
	{
		this.SalePatternID=PatternID;
	}
	
	/*get functions*/
	public String getSaleID()
	{
		return this.SaleID;
	}
	
	public String getSalePatternID()
	{
		return this.SalePatternID;
	}
	
}